4.6 Setting up the database

This section contains information about setting up your database.

4.6.1 Database versions

SIU references: SIU-009, SIU-010, SIU-279.

MyID has been tested with the following SQL Server versions:

Note: Intercede supports the database versions listed above. If you are going to use different service packs or cumulative updates for these major versions than those listed above, make sure that you carry out additional testing within your environment. For production deployment, SQL Server Enterprise or Standard editions must be used. Do not use major versions that are not listed above (for example, SQL Server 2012) as these are not supported.

If you have multiple MyID application servers, you must have a Client Access License for SQL Server for each MyID application server.

MyID has also been tested using Microsoft Azure as the database. See the Microsoft Azure Integration Guide for details.

4.6.2 Database configuration considerations

SIU references: SIU-097, SIU-098, SIU-099, SIU-126.

If you are creating the MyID database using the installation program, and have selected the Windows authentication option, make sure the account you use to install the software has the correct permissions to create a database on your SQL Server.

If you are using SQL Server authentication (SQL Azure environments only), make sure the accounts you specify for the main MyID database and the authentication database have the appropriate permissions on your SQL Server, and that you have created your databases before installing MyID; see the Prerequisites section in the Microsoft Azure Integration Guide.

If you are installing MyID into an already-created database (for example, when upgrading an existing system, or installing a new system where your DBA has already created an empty database), you do not need user permissions to create a database; however, you do need permissions to alter the schema. This means that you can remove the dbcreator permission from the installation user, as long as you make sure that the user has database-level db_owner permission instead. See section 6.1.1, Installation account for more information about permissions and default schema settings for existing databases.

Make sure your SQL Server is using English (United States) as the language. MyID supports only English (United States) for the connection to SQL Server. You can view the language used in SQL Server Management Studio – right-click the database, then select Properties from the pop-up menu.

See your Microsoft SQL Server documentation for further details.

4.6.3 Installing the database software

SIU references: SIU-092, SIU-093, SIU-096, SIU-296.

To install the database software:

  1. Install the following SQL Server packages on the MyID database server:

    • Database Engine Services.

      Note: You must install the SQL Server Full Text Search option. To confirm whether Full Text Search is installed, you can run the following query:

      SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')

      If this query returns 1, Full Text Search is installed. If this returns 0, you must add the feature before attempting to install MyID.

      Note: Under some circumstances, for example when setting up mirroring, the Full Text Search may stop indexing. See your Microsoft documentation for information on re-indexing the database.

    • Client Tools Connectivity.
  2. On the MyID application server, install the following:

    • Microsoft OLE DB Driver 18 for SQL Server (MSOLEDBSQL).

      This driver is available from Microsoft.

      The current release has been tested with driver version 18.6.3. If you want to use a different version of the driver, contact customer support quoting reference SUP-324.

    • SQL Server Native Client 11

      This is available in the SQL Server Feature Pack.

    You must also make sure that the OLE DB Driver and Native Client are installed on the PC on which you run the database component of the installation program. For simplicity, you can run the database component of the installation program from the MyID application server.

    If you are using the standalone authentication service (web.oauth2.ext) you must make sure that the OLE DB Driver and Native Client are installed on the server onto which you want to install this service.

Note: Install only one instance of the MyID database. You can choose to install the database from the database server or the application server, but do not run the installation from both.

4.6.4 SQL Server services

SIU references: SIU-153, SIU-219, SIU-220, SIU-221, SIU-222.

You must make sure that the following SQL Server services are installed and running on the MyID database server:

These services are part of an installation of SQL Server.